<% form_for @item_rating, :html => { :multipart => true, :id => "form" } do |f| -%>
  <%= f.error_messages -%>
  
  <div class="box">
    <table class="table border">
      <tr class="th">
        <td width="80" align="right"><strong>商品编号</strong></td>
        <td><%= f.text_field :item_id, :style => "width:400px;" %></td>
      </tr>
      <tr class="tr2">
        <td width="80" align="right"><strong>综合评分</strong></td>
        <td><%= f.text_field :global_rating, :style => "width:400px;" %></td>
      </tr>
      <tr>
        <td width="80" align="right"><strong>印象评分</strong></td>
        <td><%= f.text_field :impression_rating, :style => "width:400px;" %></td>
      </tr>
      <tr class="tr2">
        <td align="right"><strong>质地评分</strong></td>
        <td><%= f.text_field :quality_rating, :style => "width:400px;" %></td>
      </tr>
      <tr>
        <td width="80" align="right"><strong>IP</strong></td>
        <td><%= f.text_field :ip, :style => "width:400px;" %></td>
      </tr>
    </table>
  </div>
<% end -%>
